home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Standards 1994 January / InfoMagic Standards - January 1994.iso / inet / scc / 9321 < prev    next >
Text File  |  1993-11-12  |  12KB  |  245 lines

  1.  
  2. **************************************************************************
  3. Security Bulletin 9321                  DISA Defense Communications System
  4. November 12, 1993            Published by: DDN Security Coordination Center
  5.                                       (SCC@NIC.DDN.MIL)   1-(800) 365-3642
  6.  
  7.                         DEFENSE  DATA  NETWORK
  8.                           SECURITY  BULLETIN
  9.  
  10.   The DDN SECURITY BULLETIN is distributed by the DDN SCC (Security
  11.   Coordination Center) under DISA contract as a means of communicating
  12.   information on network and host security exposures, fixes, and concerns
  13.   to security and management personnel at DDN facilities.  Back issues may
  14.   be obtained via FTP (or Kermit) from NIC.DDN.MIL [192.112.36.5]
  15.   using login="anonymous" and password="guest".  The bulletin pathname is
  16.   scc/ddn-security-yynn (where "yy" is the year the bulletin is issued
  17.   and "nn" is a bulletin number, e.g. scc/ddn-security-9302).
  18. **************************************************************************
  19. + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
  20. !                                                                       !
  21. !     The following important  advisory was  issued by the Computer     !
  22. !     Emergency Response Team (CERT)  and is being relayed unedited     !
  23. !     via the Defense Information Systems Agency's Security             !
  24. !     Coordination Center  distribution  system  as a  means  of        !
  25. !     providing  DDN subscribers with useful security information.      !
  26. !                                                                       !
  27. + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
  28.  
  29. =============================================================================
  30. CA-93:17                         CERT Advisory
  31.                                November 11, 1993
  32.                           xterm Logging Vulnerability
  33. -----------------------------------------------------------------------------
  34.  
  35. The CERT Coordination Center is working on eliminating a vulnerability in
  36. xterm.  This vulnerability potentially affects all systems running xterm
  37. with the setuid or setgid bit set.  This vulnerability has been found in
  38. X Version 11, Release 5 (X11R5) and earlier versions of X11.
  39.  
  40. CERT is working with the vendor community to address this vulnerability.
  41.  
  42. -----------------------------------------------------------------------------
  43.  
  44. I.   Description
  45.  
  46.      A vulnerability in the logging function of xterm exists in many
  47.      versions of xterm that operate as a setuid or setgid process.  The
  48.      vulnerability allows local users to create files or modify any
  49.      existing files.
  50.  
  51.      If the setuid or setgid privilege bit is not set on the xterm program,
  52.      the vulnerability cannot be exploited.
  53.  
  54.      It is possible that the xterm on your system does not allow
  55.      logging.  In this case, the vulnerability cannot be exploited.  To
  56.      determine if logging is enabled, run xterm with the "-l" option.  If
  57.      an "XtermLog.axxxx" file is created in the current directory, xterm
  58.      supports logging.  You can also check the output of "xterm -help"
  59.      to see whether the "-l" option is described as "not supported".
  60.  
  61.      Another way to determine if logging is available is to look for
  62.      the "Log to File" item in the Main Options menu (press Control mouse
  63.      button 1).  If the X Consortium's public patch has been installed
  64.      as distributed,  the option "Log to File" should not appear in the
  65.      menu.
  66.  
  67.  
  68. II.  Impact
  69.  
  70.      This vulnerability allows anyone with access to a user account
  71.      to gain root access.
  72.  
  73.  
  74. III. Solutions
  75.  
  76.      All of the following solutions require that a new version of xterm be
  77.      installed.  When installing the new xterm, it is important either to
  78.      remove the old version of xterm or to clear the setuid and setgid
  79.      bits from the old xterm.
  80.  
  81.      CERT suggests one of the following solutions.
  82.  
  83.      A.  Install vendor supplied patch if available.  CERT is hopeful
  84.          that patches will be forthcoming.  We will be maintaining a
  85.          status file, xterm-patch-status, and we will add patch availability
  86.          information to this file as it becomes known.  The file is
  87.          available via anonymous FTP from info.cert.org.  The name of
  88.          the file is pub/cert_advisories/xterm-patch-status.  A current
  89.          version of this file is appended to this Advisory.
  90.  
  91.          For more up-to-date information, contact the vendor.
  92.  
  93.      B.  If your site is using the X Consortium's X11R5, install the
  94.          public patch #26.  This patch is available via anonymous FTP
  95.          from ftp.x.org as the file /pub/R5/fixes/fix-26.  Install all
  96.          patch files up to and including fix-26.
  97.  
  98.          By default, the patch disables logging. If you choose to enable
  99.          logging, a variation of the vulnerability still exists.
  100.  
  101.          Checksum information:
  102.  
  103.                 BSD Unix Sum:  19609 47
  104.  
  105.                 System V Sum:  51212 94
  106.  
  107.                 MD5 Checksum:  e270560b6e497a0a71881d4ff4db8c05
  108.  
  109.      C.  If your site is using an earlier version of the X Consortium's X11,
  110.          upgrade to X11R5.  Install all patches up to and including fix-26.
  111.  
  112.      D.  If you are unable to upgrade to the X Consortium's X11R5, modify
  113.          the xterm source code to remove the logging feature.  Familiarity
  114.          with X11 and its installation and configuration is recommended
  115.          before implementing these modifications.
  116.  
  117. ---------------------------------------------------------------------------
  118. The CERT Coordination Center wishes to thank Stephen Gildea of the
  119. X Consortium for his assistance in responding to this problem.
  120. ---------------------------------------------------------------------------
  121.  
  122. If you believe that your system has been compromised, contact the CERT
  123. Coordination Center or your representative in Forum of Incident
  124. Response and Security Teams (FIRST).
  125.  
  126. Internet E-mail: cert@cert.org
  127. Telephone: 412-268-7090 (24-hour hotline)
  128.            CERT personnel answer 8:30 a.m.-5:00 p.m. EST(GMT-5)/EDT(GMT-4),
  129.            and are on call for emergencies during other hours.
  130.  
  131. CERT Coordination Center
  132. Software Engineering Institute
  133. Carnegie Mellon University
  134. Pittsburgh, PA 15213-3890
  135.  
  136. Past advisories, information about FIRST representatives, and other
  137. information related to computer security are available for anonymous
  138. FTP from info.cert.org.
  139.  
  140.  
  141.  
  142. ---------------------------------------------------------------------------
  143.  
  144.                             CERT Coordination Center
  145.                               xterm Vendor Status
  146.                                November 11, 1993
  147.  
  148.  
  149. This file is a supplement to the CERT Advisory CA-93:17 of November 11, 1993,
  150. and will be updated as additional information becomes available.
  151.  
  152. The following is vendor-supplied information.  The CERT Coordination Center
  153. will not formally review, evaluate, or endorse this information. For more
  154. up-to-date information, contact your vendor. 
  155.  
  156. It is important to note that the vendor of your xterm may not be the same
  157. as the vendor of your platform.  You should take care to correctly identify
  158. the vendor whose xterm you are using, so you can take the appropriate action.  
  159.  
  160.  
  161.  
  162.     Convex       Fixed in CXwindows V3.1.  Fixed in CXwindows V3.0
  163.            with TAC patch V3.0.131 applied.  The Convex Technical 
  164.                    Assistance Center is available for additional information
  165.                    at 800-952-0379.
  166.  
  167.     Cray       Fixed. Contact Cray for version/patch numbers.
  168.  
  169.         DEC/OSF    Attached is the information on the remedial images to
  170.                    address the xterm issue for ULTRIX V4.3 (VAX & RISC) 
  171.            and OSF/1 V1.2.   The solutions have been included in
  172.            ULTRIX V4.4 (VAX & RISC) and OSF/1 V1.3. 
  173.  
  174.                    Customers may call their normal Digital Multivendor 
  175.                    Customer Services Support Channel to obtain this kit.
  176.  
  177.                    ----------------------------------------------------------
  178.                    *ULTRIX,OSF/1] CSCPAT_4034 xterm Security Fix ECO Summary
  179.  
  180.  
  181.                    COPYRIGHT (c) 1988, 1993 by Digital Equipment Corporation.
  182.                    ALL RIGHTS RESERVED.
  183.  
  184.                    COMPONENT:  xterm
  185.  
  186.                    OP/SYS:     ULTRIX VAX and RISC, OSF/1
  187.  
  188.                    SOURCE:     Digital Customer Support Center
  189.  
  190.                    ECO INFORMATION:
  191.  
  192.                    CSCPAT Kit:                  CSCPAT_4034 V1.1
  193.                    CSCPAT Kit Size:             2152 blocks
  194.                    Engineering Cross Reference: SSRT93-E-0230, SSRT93-E-0231,
  195.                                                 SSRT93-E-232
  196.                    Kit Applies To:              ULTRIX V4.3, OSF/1 V1.2
  197.                    System Reboot Required:      NO
  198.                    ----------------------------------------------------------
  199.  
  200.         SCO        The current releases listed below are not vulnerable to
  201.                    this problem.  No xterm logging or scoterm logging is
  202.                    provided:
  203.  
  204.                    SCO Open Desktop Lite, Release 3.0
  205.                    SCO Open Desktop, Release 3.0
  206.                    SCO Open Server Network System, Release 3.0
  207.                    SCO Open Server Enterprise System, Release 3.0
  208.  
  209.                    Contact SCO for any further information.
  210.  
  211.     Sequent    Fixed. Contact Sequent for version/patch numbers.
  212.  
  213.     Sun        Sun's version of xterm has not been setuid root since at 
  214.                    least as far back as SunOS 4.1.1, and probably further.  
  215.                    An xterm that does not run setuid or setgid is not
  216.                    vulnerable to the xterm logging problem.
  217.  
  218.                    CAUTION: A Sun patch was issued on December 6, 1992 to give 
  219.                    system administrators the option of running xterm setuid 
  220.                    root.  Installing this patch will introduce the xterm
  221.                    logging vulnerability.  So check your xterm.  If either
  222.                    the setuid or setgid privilege bit is set on the xterm
  223.                    program, the vulnerability can be exploited.  Contact
  224.                    Sun for further information.
  225.  
  226.     X.org      (Publicly distributed version of X.)  You can patch X11R5
  227.            by applying all patches up to and including fix-26.  See
  228.            the associated CERT Advisory (CA-93:17) for further 
  229.                    information.
  230.  
  231.  
  232. ****************************************************************************
  233. *                                                                          *
  234. *    The point of contact for MILNET security-related incidents is the     *
  235. *    Security Coordination Center (SCC).                                   *
  236. *                                                                          *
  237. *               E-mail address: SCC@NIC.DDN.MIL                            *
  238. *                                                                          *
  239. *               Telephone: 1-(800)-365-3642                                *
  240. *                                                                          *
  241. *    NIC Help Desk personnel are available from 7:00 a.m.-7:00 p.m. EST,   *
  242. *    Monday through Friday except on federal holidays.                     *
  243. *                                                                          *
  244. ****************************************************************************
  245.